package com.wsd.vo;/*
 *
 *  *  Copyright © 2020 CIB Co.Ltd
 *  *  * All right reserved
 *  *  * Auther:7ason
 *  *
 *
 */

import java.time.LocalDateTime;

public class SubscribeMessageVO {
    private String openid;
    LocalDateTime dataTime;
    int dataAmount;
    String dataResult;
    String dataInfo;
    /**
     * 下发授信额度的消息
     * @param openid 用户openid
     * @param result  额度值
     * @param info  附加内容
     */
    public SubscribeMessageVO(String openid,String result,String info){
        super();
        this.dataResult = result;
        this.dataInfo = info;
        this.openid = openid;
    }
    /**
     * 下发放款的消息
     * @param openid 用户openid
     * @param amount  额度值
     * @param loanTime  提现时间
     */
    public SubscribeMessageVO(String openid, int amount, LocalDateTime loanTime){
        super();
        this.dataAmount = amount;
        this.dataTime = loanTime;
        this.openid = openid;
    }
    /**
     * 下发逾期的消息
     * @param openid 用户openid
     * @param overdueTime  应还款时间
     */
    public SubscribeMessageVO(String openid,LocalDateTime overdueTime){
        super();
        this.dataTime = overdueTime;
        this.openid = openid;
    }

}
